package pixivPc;

@Deprecated
public class TaskResult {

	public String toFile() {
		return "";
	}

	public static class ErrorTaskResult extends TaskResult {

		private final String msg;

		public ErrorTaskResult(String msg) {
			this.msg = msg;
		}

		@Override
		public String toFile() {
			return msg;
		}

	}

	public static class SucessTaskResult extends TaskResult {
		private final String rslt;

		public SucessTaskResult(String rslt) {
			this.rslt = rslt;
		}

		@Override
		public String toFile() {
			return rslt;
		}

	}
}
